package com.ghsc.yigou.live.ui.view

import android.content.Context
import android.content.Intent
import android.os.Bundle
import com.aliyun.aliinteraction.uikit.core.LiveConst
import com.aliyun.auipusher.LiveParam
import com.ghsc.yigou.live.ui.activity.LiveActivity
import com.ghsc.yigou.live.ui.activity.LiveBroadcastActivity

/**
 * 项目：JingShortVideo
 * 包名：com.bbl.jyShortVideo.ui.video.live
 * 类名：Router
 * 创建时间：2022/11/30 15:10
 * 创建人 @author： xiaolin
 * 描述 ：Todo...
 */
object CustRouter {





    //跳转直播页面  LiveBroadcastActivity
    fun openBusinessRoomPage(context: Context, liveParam: LiveParam?) {
        val intent = Intent(context, LiveBroadcastActivity::class.java)
        var bundle = Bundle()
        bundle.putSerializable(LiveConst.PARAM_KEY_LIVE_PARAM, liveParam)
        intent.putExtras(bundle)
        context.startActivity(intent)
    }



}